package com.retallife.business.dao.Business;

import com.retallife.business.pojo.Business.BusinessVo;
import com.retallife.business.pojo.Login.LoginVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BussinessMapper {
    /**
     * 查询所有用户
     * @return 是否查询成功
     */
    public List<BusinessVo> FindAllBusiness();

    /**
     * 查询某个厂商的账号密码
     * @return 是否查询成功
     */
    public int FindBusiness(LoginVo loginVo);

    /**
     * 查询某个厂商的信息
     * @return 是否查询成功
     */
    public List<BusinessVo> FindBusinessName(String businessName);
}
